package cn.yudao.ymcc.dto;

import cn.yudao.ymcc.domain.CourseType;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
* @Title:
* @Description: 树状类型需要的字段
* @Author: Mr.Jia
* @Version: 1.0
* @Date:  2022/8/7 17:54
* @Parameters:
* @Return
*/
@Data
public class CourseTypeDTO extends CourseType {

    private String label;

    @JsonInclude(value = JsonInclude.Include.NON_EMPTY)
    private List<CourseTypeDTO> children;

}
